<script src="${basePath}static/js/lib/date_picker/WdatePicker.js"></script>
<script src="${basePath}static/js/lib/page/page.js"></script>
<script src="${basePath}static/js/history.js"></script>
<#include "../common/box.html">
<#include "../lottery/template/history_template.html">
<div class="account-top mt10">
	<form id="history-search-form">
		<span class="search-inp">
			<select name="lotteryId">
				<option value="">全部彩种</option>
				<#list lotteryTypeList as item>
					<option value="${item.id}">${item.lotteryName}</option>
				</#list>
			</select>
		</span>
		<span class="search-inp">
			<select name="status">
				<option value="">所有状态</option>
				<option value="1">已派奖</option>
				<option value="2">未中奖</option>
				<option value="3">未开奖</option>
				<option value="4">追号</option>
				<option value="5">撤单</option>
			</select>
		</span>
		<span class="search-inp">
			<select name="betsMode">
				<option value="">全部模式</option>
				<option value="2.00">元</option>
				<option value="0.20">角</option>
				<option value="0.02">分</option>
			</select>
		</span>
		<span class="search-inp">单号： <input data-placeholder="请输入单号" type="text" name="betsOrder" class="int" value="" /></span>
		<span class="search-inp"><input  id="startDate"  type="text" readonly name="betsStartTime" onclick="new WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" class="int" 
		   data-placeholder="开始时间" />&nbsp;&nbsp;至</span>
		<span class="search-inp"><input type="text" readonly name="betsEndTime" onclick="new WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" class="int"
		   data-placeholder="结束时间"  /></span>
		<a href="javascript:;" class="btn-b btn-lg" id="history-search">查询</a>
	</form>
</div>

<table id="history-table" width="100%" class="tab-accuont stripe mt10">
	<tr>
		<th>单号</th>
		<th>投注时间</th>
		<th>彩种</th>
		<th>玩法</th>
		<th>期号</th>
		<th>倍数</th>
		<th>模式</th>
		<th>金额(元)</th>
		<th>奖金(元)</th>
		<th>状态</th>
		<th>操作</th>
	</tr>
	<tbody id="history-data">
	
	</tbody>
</table>
<div class="mod_pager pagination mt10" id="page_nav"></div>